package com.hsnn.medstgmini.pro.project.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @category 采购项目配送企业日志
 * @author 张俊
 * @date   2015-06-11
 */
@Entity
@Table(name = "bid_projcompany_log")
public class BidProjCompanyLog implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -4788168197899886592L;
	private String logId;
	private String projDelId;
	private String projId;
	private String compId;
	private Integer status;
	private Date updDatetime;
	private String updUser;

	// Constructors

	/** default constructor */
	public BidProjCompanyLog() {
	}

	/** minimal constructor */
	public BidProjCompanyLog(String projDelId) {
		this.projDelId = projDelId;
	}

	/** full constructor */
	public BidProjCompanyLog(String projDelId, String projId, String compId,
			Integer status, Date updDatetime, String updUser) {
		this.projDelId = projDelId;
		this.projId = projId;
		this.compId = compId;
		this.status = status;
		this.updDatetime = updDatetime;
		this.updUser = updUser;
	}

	// Property accessors
	@Id
	@Column(name = "log_id",length = 36)
	public String getLogId() {
		return this.logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}

	@Column(name = "proj_del_id", nullable = false, length = 36)
	public String getProjDelId() {
		return this.projDelId;
	}

	public void setProjDelId(String projDelId) {
		this.projDelId = projDelId;
	}

	@Column(name = "proj_id", length = 36)
	public String getProjId() {
		return this.projId;
	}

	public void setProjId(String projId) {
		this.projId = projId;
	}

	@Column(name = "comp_id", length = 36)
	public String getCompId() {
		return this.compId;
	}

	public void setCompId(String compId) {
		this.compId = compId;
	}

	@Column(name = "status")
	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Column(name = "upd_datetime", length = 19)
	public Date getUpdDatetime() {
		return this.updDatetime;
	}

	public void setUpdDatetime(Date updDatetime) {
		this.updDatetime = updDatetime;
	}

	@Column(name = "upd_user", length = 36)
	public String getUpdUser() {
		return this.updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}

}